package com.chenfei.service.impl;

import com.chenfei.domain.Test;
import com.chenfei.mapper.TestMapper;
import com.chenfei.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @author chenfei
 * @description
 * @since 2018/2/6
 */
@Service
public class TestServiceImpl implements TestService {

    @Autowired
    TestMapper testMapper;

    @Override
    public List<Test> list() {
        return testMapper.getTest();
    }
}
